// 引入样式
import './style/index.less'
// import Food from './moduls/Food'
// import ScorePanel from './moduls/ScorePanel'
// import Snake from './moduls/Snake'

// // scorePanel有两个可选值   设置变量限制等级 设置升级条件
// const scorePanel = new ScorePanel()
// for (let index = 0; index < 100; index++) {
//     scorePanel.addScore()
// }
// const test = new Food()
// console.log(test.X, test.Y);
// test.change()

// const a = new Snake()
import GameControl from './moduls/GameControl'
new GameControl()
// const gc = new GameControl()
// setTimeout(() => {
//     console.log(gc.direction);

// }, 1000);